mimichat:chatui.vala mychat.vapi libmychat.h libmychat.a
	valac -o mimichat --pkg gtk+-3.0 --thread -X -I. -X -L. -X -lmychat chatui.vala mychat.vapi resource.vala
libmychat.h libmychat.a:../*.go
	go build -buildmode=c-archive ..
mimichat2:asyncui.vala mychat.vapi libmychat.h libmychat.a
	valac -o mimichat2 --pkg gtk+-3.0 --thread -X -I. -X -L. -X -lmychat chatui.vala mychat.vapi resource.vala
